<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="你的js文件目录"></script>
    <style>
        div{
            width: 300px;
            height: 300px;
        border: 1px solid black}
        /*
            !*display: inline-block;*!
        }
        div:nth-of-type(1){
            background: #2e8eb6;
            float: left;

        }
        div:nth-of-type(2){
            background: #4D4D4D;
            !*width: 150px!important;*!
        }
        div:nth-of-type(3){
            background: #578f14;
        }
        img{
            display: block;
        }*/
        /*img:nth-of-type(1){
            float: left;
        }*/
        div:nth-of-type(1){
            float: left;
        }
    </style>
</head>
<body>
    <div><img src="../img/img1 (1).png" alt=""></div>
    <div><img src="../img/img2 (1).png" alt=""></div>
</body>
</html>